home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / DTS.Lib / DTS.Lib.headers / DTSFW #includes.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-11  |  7.2 KB  |  569 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.  *  Mac #includes.c - source to MacHeaders
  4.  *
  5.  *  To add a header, change its "#if 0" to "#if 1".
  6.  *
  7.  *  To remove a header, change its "#if 1" to "#if 0".
  8.  *
  9.  *  There are some conflicts and order dependencies among the various
  10.  *  headers:
  11.  *
  12.  *    •    <Printing.h> and <PrintTraps.h> cannot both be included.
  13.  *
  14.  *    •    <LoMem.h> and <SysEqu.h> cannot both be included.
  15.  *
  16.  *    •    <asm.h> and <Traps.h>, if both are included, must appear
  17.  *        in that order.  If <Traps.h> is included, traps used in
  18.  *        inline assembly must appear without leading underscores.
  19.  *
  20.  *  If the "Check Pointer Types" option is disabled during the
  21.  *  precompilation process, trap definitions will be stored in
  22.  *  such a way that when a trap is called (in a source file that
  23.  *  #includes the precompiled header), pointer arguments to the
  24.  *  trap will not be matched against the types of corresponding
  25.  *  formal parameters.
  26.  *
  27.  *  This is accomplished by storing "simplified" prototypes for
  28.  *  traps, in which any argument of pointer type is stored as
  29.  *  "void *".  The result closely resembles the treatment of traps
  30.  *  in pre-5.0 versions of THINK C.
  31.  *
  32.  *  (Note that this file is written in such a way that it is immune
  33.  *  to the actual compiler setting of "Check Pointer Types".  Use
  34.  *  the "SIMPLIFY_PROTOTYPES" macro, below, to control whether full
  35.  *  prototypes are retained.)
  36.  *
  37.  */
  38.  
  39. #define OBSOLETE
  40. #define OLDROUTINENAMES 0
  41. #define _H_MacHeaders
  42.  
  43.  
  44. // set this to 0 (zero) to retain full prototypes
  45. // set this to 1 (one) for "simplified" prototypes
  46. #define SIMPLIFY_PROTOTYPES        0
  47.  
  48.  
  49. // prototype checking level
  50. #if SIMPLIFY_PROTOTYPES
  51.     #if !__option(check_ptrs)
  52.         #undef SIMPLIFY_PROTOTYPES
  53.     #endif
  54.     #pragma options(!check_ptrs)
  55. #else
  56.     #if __option(check_ptrs)
  57.         #undef SIMPLIFY_PROTOTYPES
  58.     #endif
  59.     #pragma options(check_ptrs)
  60. #endif
  61.  
  62.  
  63. // ADSP
  64.     #if 0
  65.         #include <ADSP.h>
  66.     #endif
  67.  
  68. // AIFF
  69.     #if 0
  70.         #include <AIFF.h>
  71.     #endif
  72.  
  73. // Aliases
  74.     #if 1
  75.         #include <Aliases.h>
  76.     #endif
  77.  
  78. // AppleEvents
  79.     #if 1
  80.         #include <AppleEvents.h>
  81.     #endif
  82.  
  83. // AppleTalk
  84.     #if 0
  85.         #include <AppleTalk.h>
  86.     #endif
  87.  
  88. // Balloons
  89.     #if 1
  90.         #include <Balloons.h>
  91.     #endif
  92.  
  93. // CommResources
  94.     #if 0
  95.         #include <CommResources.h>
  96.     #endif
  97.  
  98. // Components
  99.     #if 1
  100.         #include <Components.h>
  101.     #endif
  102.  
  103. // Connections
  104.     #if 0
  105.         #include <Connections.h>
  106.     #endif
  107.  
  108. // ConnectionTools
  109.     #if 0
  110.         #include <ConnectionTools.h>
  111.     #endif
  112.  
  113. // Controls
  114.     #if 1
  115.         #include <Controls.h>
  116.     #endif
  117.  
  118. // CRMSerialDevices
  119.     #if 0
  120.         #include <CRMSerialDevices.h>
  121.     #endif
  122.  
  123. // CTBUtilities
  124.     #if 0
  125.         #include <CTBUtilities.h>
  126.     #endif
  127.  
  128. // DatabaseAccess
  129.     #if 0
  130.         #include <DatabaseAccess.h>
  131.     #endif
  132.  
  133. // Desk
  134.     #if 1
  135.         #include <Desk.h>
  136.     #endif
  137.  
  138. // DeskBus
  139.     #if 0
  140.         #include <DeskBus.h>
  141.     #endif
  142.  
  143. // Devices
  144.     #if 1
  145.         #include <Devices.h>
  146.     #endif
  147.  
  148. // Dialogs
  149.     #if 1
  150.         #include <Dialogs.h>
  151.     #endif
  152.  
  153. // DiskInit
  154.     #if 1
  155.         #include <DiskInit.h>
  156.     #endif
  157.  
  158. // Disks
  159.     #if 0
  160.         #include <Disks.h>
  161.     #endif
  162.  
  163. // Editions
  164.     #if 0
  165.         #include <Editions.h>
  166.     #endif
  167.  
  168. // ENET
  169.     #if 0
  170.         #include <ENET.h>
  171.     #endif
  172.  
  173. // EPPC
  174.     #if 1
  175.         #include <EPPC.h>
  176.     #endif
  177.  
  178. // Errors
  179.     #if 1
  180.         #include <Errors.h>
  181.     #endif
  182.  
  183. // Events
  184.     #if 1
  185.         #include <Events.h>
  186.     #endif
  187.  
  188. // Files
  189.     #if 1
  190.         #include <Files.h>
  191.     #endif
  192.  
  193. // FileTransfers
  194.     #if 0
  195.         #include <FileTransfers.h>
  196.     #endif
  197.  
  198. // FileTransferTools
  199.     #if 0
  200.         #include <FileTransferTools.h>
  201.     #endif
  202.  
  203. // Finder
  204.     #if 0
  205.         #include <Finder.h>
  206.     #endif
  207.  
  208. // FixMath
  209.     #if 1
  210.         #include <FixMath.h>
  211.     #endif
  212.  
  213. // Folders
  214.     #if 1
  215.         #include <Folders.h>
  216.     #endif
  217.  
  218. // Fonts
  219.     #if 1
  220.         #include <Fonts.h>
  221.     #endif
  222.  
  223. // GestaltEqu
  224.     #if 1
  225.         #include <GestaltEqu.h>
  226.     #endif
  227.  
  228. // Graf3D
  229.     #if 0
  230.         #include <Graf3D.h>
  231.     #endif
  232.  
  233. // HyperXCmd
  234.     #if 0
  235.         #include <HyperXCmd.h>
  236.     #endif
  237.  
  238. // Icons
  239.     #if 0
  240.         #include <Icons.h>
  241.     #endif
  242.  
  243. // ImageCompression
  244.     #if 1
  245.         #include <ImageCompression.h>
  246.     #endif
  247.  
  248. // Language
  249.     #if 0
  250.         #include <Language.h>
  251.     #endif
  252.  
  253. // Lists
  254.     #if 1
  255.         #include <Lists.h>
  256.     #endif
  257.  
  258. // Memory
  259.     #if 1
  260.         #include <Memory.h>
  261.     #endif
  262.  
  263. // Menus
  264.     #if 1
  265.         #include <Menus.h>
  266.     #endif
  267.  
  268. // MIDI
  269.     #if 0
  270.         #include <MIDI.h>
  271.     #endif
  272.  
  273. // Movies
  274.     #if 1
  275.         #include <Movies.h>
  276.     #endif
  277.  
  278. // Notification
  279.     #if 1
  280.         #include <Notification.h>
  281.     #endif
  282.  
  283. // OSEvents
  284.     #if 1
  285.         #include <OSEvents.h>
  286.     #endif
  287.  
  288. // OSUtils
  289.     #if 1
  290.         #include <OSUtils.h>
  291.     #endif
  292.  
  293. // Packages
  294.     #if 1
  295.         #include <Packages.h>
  296.     #endif
  297.  
  298. // Palette
  299. //    #if 1
  300. //        #include <Palette.h>
  301. //    #endif
  302.  
  303. // Palettes
  304.     #if 0
  305.         #include <Palettes.h>
  306.     #endif
  307.  
  308. // Picker
  309.     #if 0
  310.         #include <Picker.h>
  311.     #endif
  312.  
  313. // PictUtil
  314.     #if 0
  315.         #include <PictUtil.h>
  316.     #endif
  317.  
  318. // Power
  319.     #if 0
  320.         #include <Power.h>
  321.     #endif
  322.  
  323. // PPCToolBox
  324.     #if 1
  325.         #include <PPCToolBox.h>
  326.     #endif
  327.  
  328. // Printing
  329.     #if 1
  330.         #include <Printing.h>
  331.     #endif
  332.  
  333. // PrintTraps
  334.     #if 0
  335.         #include <PrintTraps.h>
  336.     #endif
  337.  
  338. // Processes
  339.     #if 1
  340.         #include <Processes.h>
  341.     #endif
  342.  
  343. // QDOffscreen
  344.     #if 1
  345.         #include <QDOffscreen.h>
  346.     #endif
  347.  
  348. // Quickdraw
  349.     #if 1
  350.         #include <Quickdraw.h>
  351.     #endif
  352.  
  353. // Resources
  354.     #if 1
  355.         #include <Resources.h>
  356.     #endif
  357.  
  358. // Retrace
  359.     #if 0
  360.         #include <Retrace.h>
  361.     #endif
  362.  
  363. // ROMDefs
  364.     #if 0
  365.         #include <ROMDefs.h>
  366.     #endif
  367.  
  368. // Scrap
  369.     #if 1
  370.         #include <Scrap.h>
  371.     #endif
  372.  
  373. // Script
  374.     #if 1
  375.         #include <Script.h>
  376.     #endif
  377.  
  378. // SCSI
  379.     #if 0
  380.         #include <SCSI.h>
  381.     #endif
  382.  
  383. // SegLoad
  384.     #if 1
  385.         #include <SegLoad.h>
  386.     #endif
  387.  
  388. // Serial
  389.     #if 0
  390.         #include <Serial.h>
  391.     #endif
  392.  
  393. // ShutDown
  394.     #if 0
  395.         #include <ShutDown.h>
  396.     #endif
  397.  
  398. // Slots
  399.     #if 0
  400.         #include <Slots.h>
  401.     #endif
  402.  
  403. // Sound
  404.     #if 0
  405.         #include <Sound.h>
  406.     #endif
  407.  
  408. // SoundInput
  409.     #if 0
  410.         #include <SoundInput.h>
  411.     #endif
  412.  
  413. // StandardFile
  414.     #if 1
  415.         #include <StandardFile.h>
  416.     #endif
  417.  
  418. // Start
  419.     #if 0
  420.         #include <Start.h>
  421.     #endif
  422.  
  423. // SysEqu
  424.     #if 0
  425.         #include <SysEqu.h>
  426.     #endif
  427.  
  428. // Terminals
  429.     #if 0
  430.         #include <Terminals.h>
  431.     #endif
  432.  
  433. // TerminalTools
  434.     #if 0
  435.         #include <TerminalTools.h>
  436.     #endif
  437.  
  438. // TextEdit
  439.     #if 1
  440.         #include <TextEdit.h>
  441.     #endif
  442.  
  443. // TextServices
  444.     #if 1
  445.         #include <TextServices.h>
  446.     #endif
  447.  
  448. // Timer
  449.     #if 1
  450.         #include <Timer.h>
  451.     #endif
  452.  
  453. // ToolUtils
  454.     #if 1
  455.         #include <ToolUtils.h>
  456.     #endif
  457.  
  458. // Types
  459.     #if 1
  460.         #include <Types.h>
  461.     #endif
  462.  
  463. // Values
  464.     #if 0
  465.         #include <Values.h>
  466.     #endif
  467.  
  468. // Video
  469.     #if 0
  470.         #include <Video.h>
  471.     #endif
  472.  
  473. // Windows
  474.     #if 1
  475.         #include <Windows.h>
  476.     #endif
  477.  
  478. // pascal.h
  479.     #if 0
  480.         #include <pascal.h>
  481.     #endif
  482.  
  483. // asm.h
  484.     #if 0
  485.         #include <asm.h>
  486.     #endif
  487.  
  488. // Traps
  489.     #if 1
  490.         #include <Traps.h>
  491.     #endif
  492.  
  493.  
  494. // *********************************************
  495. // *********************************************
  496. // *********************************************
  497.  
  498.  
  499. // DTS.framework specific includes
  500.     #if 1
  501.         #include <AEUtils.h>
  502.     #endif
  503.  
  504.     #if 1
  505.         #include <ATUtils.h>
  506.     #endif
  507.  
  508.     #if 1
  509.         #include <CtlHandler.h>
  510.     #endif
  511.  
  512.     #if 1
  513.         #include <DTS.Lib.h>
  514.     #endif
  515.  
  516.     #if 1
  517.         #include <DTS.Lib.protos.h>
  518.     #endif
  519.  
  520.     #if 1
  521.         #include <GWLayers.h>
  522.     #endif
  523.  
  524.     #if 1
  525.         #include <ListControl.h>
  526.     #endif
  527.  
  528.     #if 1
  529.         #include <ListControlProcs.h>
  530.     #endif
  531.  
  532.     #if 1
  533.         #include <PPC.h>
  534.     #endif
  535.  
  536.     #if 1
  537.         #include <StringUtils.h>
  538.     #endif
  539.  
  540.     #if 1
  541.         #include <TextEditControl.h>
  542.     #endif
  543.  
  544.     #if 1
  545.         #include <TextEditControlProcs.h>
  546.     #endif
  547.  
  548.     #if 1
  549.         #include <TreeObj.h>
  550.     #endif
  551.  
  552.     #if 1
  553.         #include <Utilities.h>
  554.     #endif
  555.  
  556.  
  557. // *********************************************
  558. // *********************************************
  559. // *********************************************
  560.  
  561.  
  562. // restore "Check Pointer Types" to previous setting
  563. #if SIMPLIFY_PROTOTYPES
  564.     #pragma options(check_ptrs)
  565. #elif defined(SIMPLIFY_PROTOTYPES)
  566.     #pragma options(!check_ptrs)
  567. #endif
  568. #undef SIMPLIFY_PROTOTYPES
  569.